<?xml version="1.0" ?>

<container xmlns="http://symfony.com/schema/dic/services"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:framework="http://symfony.com/schema/dic/symfony"
    xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
                        http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">

    <framework:config http-method-override="false" handle-all-throwables="true">
        <framework:annotations enabled="false" />
        <framework:php-errors log="true" />
        <framework:workflow name="my_workflow" type="state_machine">
            <framework:initial-marking>one</framework:initial-marking>
            <framework:marking-store property="state" />
            <framework:support>Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTestCase</framework:support>
            <framework:event-to-dispatch>workflow.leave</framework:event-to-dispatch>
            <framework:event-to-dispatch>workflow.completed</framework:event-to-dispatch>
            <framework:place name="one" />
            <framework:place name="two" />
            <framework:place name="three" />
            <framework:transition name="count_to_two">
                <framework:from>one</framework:from>
                <framework:to>two</framework:to>
            </framework:transition>
            <framework:transition name="count_to_three">
                <framework:from>two</framework:from>
                <framework:to>three</framework:to>
            </framework:transition>
        </framework:workflow>
    </framework:config>
</container>
